import request from '@/utils/request'

// 入库删除
export function delStorageInfo(data) {
  return request({
    url: '/common/storageInfo/del',
    method: 'POST',
    data
  })
}

// 入库单行查询
export function selectStorageInfo(params) {
  return request({
    url: '/common/storageInfo/findId',
    method: 'POST',
    params
  })
}

// 入库修改
export function updateStorageInfo(data) {
  return request({
    url: '/common/storageInfo/update',
    method: 'post',
    data
  })
}

// 入库添加
export function insertStorageInfo(data) {
  return request({
    url: '/common/storageInfo/insert',
    method: 'POST',
    data
  })
}

// 入库分页查询
export function getList(params) {
  return request({
    url: '/common/storageInfo/selectPage',
    method: 'post',
    params
  })
}

